package day20170413.homework02;

import org.junit.Test;

public class BiologyTest {
	/**
	 * 测试生物
	 * @throws Exception
	 */
	@Test
	public void biologyTest() throws Exception {
		Biology biology = new Animal();
		biology.print();
		Biology botany = new Botany();
		botany.print();
		
		Animal rabbit = new Rabbit();
		rabbit.print();
		Animal tiger = new Tiger();
		tiger.print();
		
		Botany apple = new Apple();
		apple.print();
		Botany orange = new Orange();
		orange.print();
		
	}
}
